package com.hanamaki.basic;

public class HelloWorld {
    /* 快捷生成main方法   main */
    public static void main(String[] args) {

        String name = "Hanamaki";
        String test = "hanaMaki";

        System.out.println(name==test);
        System.out.println(name.equalsIgnoreCase(test));

        String hanamaki = new String("hanamaki");
        String hanamaki1 = new String("hanamaki"); //  alt + enter + enter

        System.out.println(hanamaki1==hanamaki);
        System.out.println(hanamaki1.equals(hanamaki));

    }

}
